import { createApp } from 'vue';
import { createPinia } from 'pinia';

import 'virtual:svg-icons-register'
import App from './ChartsManager.vue';
import router from './router';
// 移除全量导入，使用按需导入（由 unplugin-vue-components 的 ArcoResolver 处理）
// import ArcoVue from '@arco-design/web-vue';
// import '@arco-design/web-vue/dist/arco.css';

import "@/assets/scss/global.scss";
import '@/assets/scss/themes.scss';

const app = createApp(App);
const pinia = createPinia();

app.use(router);
app.use(pinia);
// 移除全量导入，使用按需导入
// app.use(ArcoVue);

app.mount('#charts');